<%template _PageHeader%>


	<div class="nav">

		<%csharp%>TempUrl = "/Index.aspx";<%/csharp%>
		<ul>
		<li>
		<a href="{this.GetUrl(TempUrl)}">

			首页
		</a>
		</li>
       <%if UserData.Id>0%>
		<li>
		<%csharp%>TempUrl = "/User/HomePage.aspx";<%/csharp%>
		<a href="{this.GetUrl(TempUrl)}">

			我的主页
		</a>
		</li>
		
		<li>
		<%csharp%>TempUrl = "/Profile/DiseaseSystem.aspx?uid="+UserData.Id;<%/csharp%>
		<a href="{this.GetUrl(TempUrl)}">
            我的病情系统
		</a>
		</li>
		<%/if%>
		<li>
		<%csharp%>TempUrl = "/PatientAll.aspx";<%/csharp%>
		<a href="{this.GetUrl(TempUrl)}">
          病友
		</a>
		</li>
		<li>

		<%csharp%>TempUrl = "/SymptomAll.aspx";<%/csharp%>
		<a href="{this.GetUrl(TempUrl)}">
	    	症状
		</a>
		</li>
		
		<!--
		<li id="treatment" onmouseover="_$('treatment_menu').style.display='block';" onmouseout="_$('treatment_menu').style.display='none';">


		<%csharp%>TempUrl = "/TreatmentAll.aspx";<%/csharp%>
			<a href="{this.GetUrl(TempUrl)}">治疗
			<img src="/support/alpha/images/r_sj.gif" height="20px" width="15px" /></a>
		<div class="nav_menu" id="treatment_menu" style="display: none;">
		<div class="item"><a href="/Pages/Alpha/TreatmentAll.aspx">西    药</a></div>
		<div class="item"><a href="/Pages/Alpha/PrescriptionAll.aspx">中    药</a></div>
		
		</div>
		</li>
		-->
		<li>

		<%csharp%>TempUrl = "/DiseaseList.aspx";<%/csharp%>
		<a href="{this.GetUrl(TempUrl)}">
           疾病
		</a>
		</li>

     <li id="bbs" onmouseover="_$('bbs_menu').style.display='block';" onmouseout="_$('bbs_menu').style.display='none';">
		<%csharp%>TempUrl = "/BBS/Index.aspx";<%/csharp%>
		<a href="{this.GetUrl(TempUrl)}">
            论坛
		<img src="/support/alpha/images/r_sj.gif" height="20px" width="15px" /></a>
		<div class="nav_menu" id="bbs_menu" style="display: none;">
		<div class="item2"><a href="/Pages/alpha/BBS/Board.aspx?gid=9">慢性粒细胞白血病 </a></div>
		<div class="item2"><a href="/Pages/alpha/BBS/Board.aspx?gid=8">特发性血小板减少性紫癜</a></div>
		<div class="item2"><a href="/Pages/alpha/BBS/Board.aspx?gid=24">多发性骨髓瘤 </a></div>
		<div class="item2"><a href="/Pages/alpha/BBS/Board.aspx?gid=86">支气管哮喘 </a></div>
		<div class="item2"><a href="/Pages/alpha/BBS/Board.aspx?gid=3">克罗恩病 </a></div>
		<div class="item2"><a href="/Pages/alpha/BBS/Board.aspx?gid=4">溃疡性结肠炎 </a></div>
		<div class="item2"><a href="/Pages/alpha/BBS/Board.aspx?gid=12">慢性乙型肝炎/携带者 </a></div>
		<div class="item2"><a href="/Pages/alpha/BBS/Board.aspx?gid=5">糖尿病 </a></div>
		<div class="item2"><a href="/Pages/alpha/BBS/Board.aspx?gid=2">高血脂 </a></div>
		<div class="item2"><a href="/Pages/alpha/BBS/Board.aspx?gid=1">高血压病 </a></div>
		<div class="item2"><a href="/Pages/alpha/BBS/Board.aspx?gid=74">站务版块</a></div>
		</div>
		</li>
	</ul>	
	<p>
                <%csharp%> if(UserData.Id <= 0) { <%/csharp%>
    			  <%csharp%>TempUrl = "/User/Register.aspx";<%/csharp%>
    				<a href="{this.GetUrl(TempUrl)}">注册</a>
    				<%csharp%>TempUrl = "/User/Login.aspx";<%/csharp%>
    				&nbsp;<a href="{this.GetUrl(TempUrl)}">登录</a>
	        	<%csharp%> } else {<%/csharp%>
    			  	欢迎: {UserData.UserName}
    	
    			    <%csharp%>TempUrl = "/User/Logout.aspx";<%/csharp%>
    			    &nbsp;<a href="{this.GetUrl(TempUrl)}" class="reg">退出</a>
        		<%csharp%> } <%/csharp%>
        		 <%csharp%>TempUrl = "/Help.aspx";<%/csharp%>
      &nbsp;<a href="{this.GetUrl(TempUrl)}" target="_blank">帮助</a></p>
 
	</div>
	
<%csharp%>if((PageName=="index.aspx" && PageName2=="alpha")||(PageName=="postcard.aspx")){ <%/csharp%>	
<%csharp%>}else{<%/csharp%>
<div class="location">

 <div style="float:left; padding-top:5px;">
		<b>您的位置</b>：
		<a href="{LocationUrls[0]}">{LocationNames[0]}</a>
		<%csharp%>
		   int locationCnt = LocationNames.Count; 
		   LocationUrls[locationCnt - 1] = "#";
		   for(int i=1; i < locationCnt; i++) { 
		<%/csharp%>
			&gt;&nbsp;<a href="{LocationUrls[i]}">{LocationNames[i]}</a>
		<%csharp%>
		   }
		<%/csharp%>
 </div>

<%if UserData.Id>0%>
<div style="position:relative; cursor:pointer; float:right; padding-top:5px;" onmouseover="_$('msg_menu').style.display='block';" onmouseout="_$('msg_menu').style.display='none';">
 您有<font style="color:Red; font-size:14px;">{this.MsgCount}</font>条未处理信息
 <img  alt="" onmouseover="this.src='/support/alpha/images/xx_xx2.gif'" onmouseout="this.src='/support/alpha/images/xx_xx1.gif';" style="cursor: pointer;" src="/support/alpha/images/xx_xx1.gif" id="extend_icon"/>
    <div id="msg_menu" class="msg_menu" style="display:none;">
    <%csharp%>TempUrl = "/User/PmInbox.aspx";<%/csharp%>
    <a href="{this.GetUrl(TempUrl)}">{msgList[0].msgName}(<span>{msgList[0].count}</span>)</a>
    <%csharp%>TempUrl = "/Profile/DiseaseSystem.aspx?uid="+UserData.Id;<%/csharp%>
    <a href="{this.GetUrl(TempUrl)}">{msgList[1].msgName}(<span>{msgList[1].count}</span>)</a>
    <%csharp%>TempUrl = "/User/CommentReplyList.aspx?uid="+UserData.Id;<%/csharp%>
    <a href="{this.GetUrl(TempUrl)}">{msgList[2].msgName}(<span>{msgList[2].count}</span>)</a>
    <%csharp%>TempUrl = "/User/ActionList.aspx?uid="+UserData.Id;<%/csharp%>
    <a href="{this.GetUrl(TempUrl)}">{msgList[3].msgName}(<span>{msgList[3].count}</span>)</a>
    <%csharp%>TempUrl = "/User/FriendApplyList.aspx";<%/csharp%>
    <a href="{this.GetUrl(TempUrl)}">{msgList[4].msgName}(<span>{msgList[4].count}</span>)</a>
    <%csharp%>TempUrl = "/User/NewLogCommentList.aspx";<%/csharp%>
    <a href="{this.GetUrl(TempUrl)}">{msgList[5].msgName}(<span>{msgList[5].count}</span>)</a>
    <%csharp%>TempUrl = "/User/NewLogCommentReplyList.aspx";<%/csharp%>
    <a href="{this.GetUrl(TempUrl)}">{msgList[6].msgName}(<span>{msgList[6].count}</span>)</a>
    </div> 
</div>
<%/if%>
</div>
<%csharp%>}<%/csharp%>
	
	<div class="wrapper">
		
	<%csharp%>if(ErrorCount > 0) { <%/csharp%>
	
	<div class="box">
		<div class="caption">
			系统提示:
		</div>
		<div style="text-align:center; padding:10px;">
			<%template _memerrmsgbox%>
		</div>
	</div>
	
	<%csharp%> } else { <%/csharp%>